home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 015a / autoask_.zip / AUTOASK.TXT < prev   
Text File  |  1993-03-30  |  1KB  |  34 lines

  1. AUTOASK.COM
  2. This program is free.  You can distribute it however you like.  It is
  3. from an article in the March 1993 issue of PC Computing magazine, on
  4. Page 270.  You can use this program to decide weather to run a
  5. program when your computer is booted or not.  For instance, if you
  6. wanted to make running CHKDSK an option during boot-up, you would add
  7. the following to your AUTOEXEC.BAT:
  8.  
  9. ECHO Do you want to run CHKDSK?
  10. AUTOASK
  11. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO DOIT
  12. IF ERRORLEVEL 121 IF NOT ERRORLEVEL 122 GOTO DOIT
  13. GOTO END
  14. :DOIT
  15. CHKDSK
  16. :END
  17.  
  18. This will ask if you want to run CHKDSK.  If you enter a Y, CHKDSK
  19. will run.  If you enter anything else, or if a time limit of 10
  20. seconds runs out, CHKDSK will not run.
  21. If you want to change the default response to be Yes, then at the
  22. line that reads:
  23.  
  24. AUTOASK
  25.  
  26. Substitute with:
  27.  
  28. AUTOASK Y
  29.  
  30. This program is made with a text editor and DOS's debug.com.  The
  31. debug code to AUTOASK.COM is included under the file name of:
  32. AUTOASK.SCR
  33.  
  34.